package routers

import (
	"gin-gorm-learn/controllers"
	"github.com/gin-gonic/gin"
)

func TaskRouterInit(r *gin.Engine) {
	taskRouters := r.Group("/task")
	{
		taskRouters.POST("/add", controllers.TaskController{}.Insert)

	}
}
